package com.qm.console.dao.model;

import java.util.Date;

public class PropChangeDO {
    private Integer id;

    private Integer uid;

    private String propType;

    private String changeReason;

    private String channel;

    private Long newValue;

    private Long change;

    private Date changeTime;

    private Long reduceChange;

    private Long addChange;

    public void setAddChange(Long addChange) {
        this.addChange = addChange;
    }

    public void setReduceChange(Long reduceChange) {
        this.reduceChange = reduceChange;
    }

    public Long getAddChange() {
        return addChange;
    }

    public Long getReduceChange() {
        return reduceChange;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getPropType() {
        return propType;
    }

    public void setPropType(String propType) {
        this.propType = propType == null ? null : propType.trim();
    }

    public String getChangeReason() {
        return changeReason;
    }

    public void setChangeReason(String changeReason) {
        this.changeReason = changeReason == null ? null : changeReason.trim();
    }

    public String getChannel() {
        return channel;
    }

    public void setChannel(String channel) {
        this.channel = channel == null ? null : channel.trim();
    }

    public Long getNewValue() {
        return newValue;
    }

    public void setNewValue(Long newValue) {
        this.newValue = newValue;
    }

    public Long getChange() {
        return change;
    }

    public void setChange(Long change) {
        this.change = change;
    }

    public Date getChangeTime() {
        return changeTime;
    }

    public void setChangeTime(Date changeTime) {
        this.changeTime = changeTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", uid=").append(uid);
        sb.append(", propType=").append(propType);
        sb.append(", changeReason=").append(changeReason);
        sb.append(", channel=").append(channel);
        sb.append(", newValue=").append(newValue);
        sb.append(", change=").append(change);
        sb.append(", changeTime=").append(changeTime);
        sb.append("]");
        return sb.toString();
    }
}